﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DalEntity;

namespace DalEntity
{
    /// <summary>
    /// Aplicando se Singleton para unica instancia da base 
    /// </summary>
    public static  class Base
    {

        public static  ShippingEntities _db;
        public static ShippingEntities GetInstance()
        {
            if (_db == null)
            {
                _db = new ShippingEntities();
            }
            return _db; 
        }

    }
}
